import Layout from "@/common/layout";
import ActiveLayout from '@/common/activeLayout/'
import Styles from './index.module.less'
import { getUserFromIsMobile } from "@/utils/server";
export default function ActivePc(){
    return (
        <ActiveLayout title={'活动页'}>
            <div className={Styles.box1}>
                <div className="txt1">px单位</div>
            </div>
        </ActiveLayout>
    )
}
export async function getServerSideProps(context){
    const type = getUserFromIsMobile(context.req)
    if(type){
        return {
            redirect:{
                permanent: false,
                destination: './m-index'
            }
        }
    }
    return {
        props:{

        }
    }
}